package com.fuqi.android.zhongcai.base.request.api;


import com.android.volley.Response.ErrorListener;
import com.android.volley.Response.Listener;
import com.fuqi.android.zhongcai.base.ApiUrl;
import com.fuqi.android.zhongcai.base.request.result.GetStaffResult;
import com.fuqi.framework.network.api.AbsRequest;
import com.fuqi.framework.network.params.BaseParams;


/*
*  获取用户下级客户接口
* */


public class GetClientApi extends AbsRequest<GetClientApi.GetClientParams, GetStaffResult[]> {

    public GetClientApi(GetClientParams getStaffParams, Listener<GetStaffResult[]> listener, ErrorListener errorListener) {
        super(Method.POST, ApiUrl.getClient(), getStaffParams, listener, errorListener, GetStaffResult[].class);
    }

    public static class GetClientParams extends BaseParams {
        public GetClientParams(String userid) {
            put("USER_ID", userid);

        }
    }


}
